import Mock from 'mockjs'
// import loginAPI from './login'
// import remoteSearchAPI from './remoteSearch'
// import transactionAPI from './transaction'
import dashboardApi from './dashboard'
import systemApi from './system'
import memberApi from './member'
import agencyApi from './agency'
import commissionApi from './commission'
import auditApi from './audit'
import withdrawApi from './withdraw'
import strategyApi from './strategy'
import transferApi from './transfer'
import adjustmentApi from './adjustment'
import permissionApi from './permission'
import banksApi from './banks'
import commonApi from './common'
import uploadApi from './upload'
import noticeApi from './notice'
import marketingApi from './marketing'
import reportApi from './report'
import riskApi from './risk'
import statisticalApi from './statistical'
import gameApi from './game'
import globalApi from './global'
import  letterApi from './letterSummary'

// import {MEMBER_DETAIL,MEMBER_LIST} from "@/const/api";

Mock.setup({
  timeout: '150-400'
})
// Mock.setup({
//   timeout: '350-600'
// })
const toMockUrl = (apiUrl) => {
  try {
    return new RegExp(apiUrl.replace(/\//gi, '\/'));
  } catch (e) {
    console.log(apiUrl)
    throw e;
  }
}

/**
 * 站内信
 */
Mock.mock(toMockUrl(api.USER_LETTER_SUMMARY_LIST), 'post', letterApi[api.USER_LETTER_SUMMARY_LIST]);

/**
 * 全局Api
 */
// Mock.mock(toMockUrl(api.GLOBAL_NOTICE), 'post', globalApi[api.GLOBAL_NOTICE]);

/**
 * 首页
 */
// Mock.mock(toMockUrl(api.DASHBOARD_REAL_TIME_DATA), 'post', dashboardApi[api.DASHBOARD_REAL_TIME_DATA]);
// Mock.mock(toMockUrl(api.DASHBOARD_RECHARGE_TOP10), 'post', dashboardApi[api.DASHBOARD_RECHARGE_TOP10]);
// Mock.mock(toMockUrl(api.DASHBOARD_WITHDRAW_TOP10), 'post', dashboardApi[api.DASHBOARD_WITHDRAW_TOP10]);
// Mock.mock(toMockUrl(api.DASHBOARD_PROFIT_TOP10), 'post', dashboardApi[api.DASHBOARD_PROFIT_TOP10]);
// Mock.mock(toMockUrl(api.DASHBOARD_LOSS_TOP10), 'post', dashboardApi[api.DASHBOARD_LOSS_TOP10]);
// Mock.mock(toMockUrl(api.DASHBOARD_MONTHLY_DATA), 'post', dashboardApi[api.DASHBOARD_MONTHLY_DATA]);
// Mock.mock(toMockUrl(api.DASHBOARD_BETTING_DATA), 'post', dashboardApi[api.DASHBOARD_BETTING_DATA]);
// Mock.mock(toMockUrl(api.DASHBOARD_PROFIT_DATA ), 'post', dashboardApi[api.DASHBOARD_PROFIT_DATA ]);

// /**
//  * 游戏管理
//  */
// Mock.mock(toMockUrl(api.GAME_MANAGER_LIST), 'post', gameApi[api.GAME_MANAGER_LIST]);
// Mock.mock(toMockUrl(api.GAME_MANAGER_TOGGLE_STATUS), 'post', commonApi.successOrFailure);
//
// Mock.mock(toMockUrl(api.GAME_MANAGER_MAINTAIN_SETTING_SAVE), 'post', commonApi.successOrFailure);
//
// Mock.mock(toMockUrl(api.GAME_MANAGER_SUB_LIST), 'post', gameApi[api.GAME_MANAGER_SUB_LIST]);
// Mock.mock(toMockUrl(api.GAME_MANAGER_SUB_TOGGLE_STATUS), 'post', commonApi.successOrFailure);
// Mock.mock(toMockUrl(api.GAME_MANAGER_SUB_DETAIL_SAVE), 'post', commonApi.successOrFailure);
// Mock.mock(toMockUrl(api.GAME_STATISTIC_LIST), 'post', gameApi[api.GAME_STATISTIC_LIST]);
//
// /**
//  * 风控管理
//  */
// Mock.mock(toMockUrl(api.RISK_IP_OVERLAP_LIST), 'post', riskApi[api.RISK_IP_OVERLAP_LIST]);
// Mock.mock(toMockUrl(api.RISK_DEVICE_CONFLICT_LIST), 'post', riskApi[api.RISK_DEVICE_CONFLICT_LIST]);
// Mock.mock(toMockUrl(api.RISK_AWARD_RATE_LIST), 'post', riskApi[api.RISK_AWARD_RATE_LIST]);
// Mock.mock(toMockUrl(api.RISK_USER_LOGIN_LIST), 'post', riskApi[api.RISK_USER_LOGIN_LIST]);
//
// /**
//  * 报表管理
//  */
// Mock.mock(toMockUrl(api.REPORT_COMPANY_LIST), 'post', reportApi[api.REPORT_COMPANY_LIST]);
// Mock.mock(toMockUrl(api.REPORT_COMPANY_SUB_LIST), 'post', reportApi[api.REPORT_COMPANY_SUB_LIST]);
// Mock.mock(toMockUrl(api.REPORT_AGENCY_LIST), 'post', reportApi[api.REPORT_AGENCY_LIST]);
// Mock.mock(toMockUrl(api.REPORT_AGENCY_SUB_LIST), 'post', reportApi[api.REPORT_AGENCY_SUB_LIST]);
// Mock.mock(toMockUrl(api.REPORT_GAME_LIST), 'post', reportApi[api.REPORT_GAME_LIST]);
// Mock.mock(toMockUrl(api.REPORT_PLAYER_LIST), 'post', reportApi[api.REPORT_PLAYER_LIST]);
// Mock.mock(toMockUrl(api.REPORT_PLAYER_SUB_LIST), 'post', reportApi[api.REPORT_PLAYER_SUB_LIST]);
// Mock.mock(toMockUrl(api.REPORT_TRANSACTION_LIST), 'post', reportApi[api.REPORT_TRANSACTION_LIST]);
//
// /**
//  * 营销管理
//  */
//
// Mock.mock(toMockUrl(api.MARKETING_REBATE_SETTING_LIST), 'post', marketingApi[api.MARKETING_REBATE_SETTING_LIST]);
// Mock.mock(toMockUrl(api.MARKETING_REBATE_SETTING_DETAIL), 'post', marketingApi[api.MARKETING_REBATE_SETTING_DETAIL]);
// Mock.mock(toMockUrl(api.MARKETING_REBATE_SETTING_SAVE), 'post', commonApi.successOrFailure);
// Mock.mock(toMockUrl(api.MARKETING_REBATE_SETTING_DELETE), 'post', commonApi.successOrFailure);
// Mock.mock(toMockUrl(api.MARKETING_REBATE_STATUS_TOGGLE), 'post', commonApi.successOrFailure);
// Mock.mock(toMockUrl(api.MARKETING_REBATE_LOG_LIST), 'post', marketingApi[api.MARKETING_REBATE_LOG_LIST]);
//
// Mock.mock(toMockUrl(api.MARKETING_OFFER_LIST), 'post', marketingApi[api.MARKETING_OFFER_LIST]);
// Mock.mock(toMockUrl(api.MARKETING_OFFER_DETAIL), 'post', marketingApi[api.MARKETING_OFFER_DETAIL]);
// Mock.mock(toMockUrl(api.MARKETING_OFFER_SAVE), 'post', commonApi.successOrFailure);
// Mock.mock(toMockUrl(api.MARKETING_OFFER_DELETE), 'post', commonApi.successOrFailure);
//
// Mock.mock(toMockUrl(api.MARKETING_ADVERTISEMENT_LIST), 'post', marketingApi[api.MARKETING_ADVERTISEMENT_LIST]);
// Mock.mock(toMockUrl(api.MARKETING_ADVERTISEMENT_DETAIL), 'post', marketingApi[api.MARKETING_ADVERTISEMENT_DETAIL]);
// Mock.mock(toMockUrl(api.MARKETING_ADVERTISEMENT_SAVE), 'post', commonApi.successOrFailure);
// Mock.mock(toMockUrl(api.MARKETING_ADVERTISEMENT_DELETE), 'post', commonApi.successOrFailure);
// Mock.mock(toMockUrl(api.MARKETING_OPERATOR), 'post', auditApi[api.AUDIT_OPERATOR]);
//
// /**
//  * 消息管理
//  */
// Mock.mock(toMockUrl(api.UPLOAD_PIC), 'post', uploadApi[api.UPLOAD_PIC]);
//
// // Mock.mock(toMockUrl(api.NOTICE_ANNOUNCEMENT_SAVE), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.NOTICE_ANNOUNCEMENT_LIST), 'post', noticeApi[api.NOTICE_ANNOUNCEMENT_LIST]);
// // Mock.mock(toMockUrl(api.NOTICE_ANNOUNCEMENT_DETAIL), 'post', noticeApi[api.NOTICE_ANNOUNCEMENT_DETAIL]);
// // Mock.mock(toMockUrl(api.NOTICE_OPERATOR), 'post', auditApi[api.AUDIT_OPERATOR]);
// // Mock.mock(toMockUrl(api.NOTICE_ANNOUNCEMENT_DELETE), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.NOTICE_DIALOG_DELETE), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.NOTICE_DIALOG_LIST), 'post', noticeApi[api.NOTICE_DIALOG_LIST]);
// // Mock.mock(toMockUrl(api.NOTICE_NORMAL_DIALOG_SAVE), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.NOTICE_NORMAL_DIALOG_DETAIL), 'post', noticeApi[api.NOTICE_ANNOUNCEMENT_DETAIL]);
// // Mock.mock(toMockUrl(api.NOTICE_BANK_DIALOG_SAVE), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.NOTICE_BANK_DIALOG_DETAIL), 'post', noticeApi[api.NOTICE_BANK_DIALOG_DETAIL]);
// // Mock.mock(toMockUrl(api.NOTICE_HELP_LIST), 'post', noticeApi[api.NOTICE_HELP_LIST]);
// // Mock.mock(toMockUrl(api.NOTICE_HELP_DETAIL), 'post', noticeApi[api.NOTICE_HELP_DETAIL]);
// // Mock.mock(toMockUrl(api.NOTICE_HELP_SAVE), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.NOTICE_RECHARGE_HELP_LIST), 'post', noticeApi[api.NOTICE_RECHARGE_HELP_LIST]);
// // Mock.mock(toMockUrl(api.NOTICE_RECHARGE_HELP_DETAIL), 'post', noticeApi[api.NOTICE_RECHARGE_HELP_DETAIL]);
// // Mock.mock(toMockUrl(api.NOTICE_RECHARGE_HELP_SAVE), 'post', commonApi.successOrFailure);
//
// /**
//  * 权限管理
//  */
// Mock.mock(toMockUrl(api.AUTH_DEPARTMENT_DETAIL), 'post', permissionApi[api.AUTH_DEPARTMENT_DETAIL]);
// Mock.mock(toMockUrl(api.AUTH_DEPARTMENT_LIST), 'post', permissionApi[api.AUTH_DEPARTMENT_LIST]);
// Mock.mock(toMockUrl(api.AUTH_DEPARTMENT_MEMBER_LIST), 'post', permissionApi[api.AUTH_DEPARTMENT_MEMBER_LIST]);
// // Mock.mock(toMockUrl(api.AUTH_DEPARTMENT_DETAIL_SAVE), 'post', commonApi.successOrFailure);
// Mock.mock(toMockUrl(api.AUTH_DEPARTMENT_STATUS_TOGGLE), 'post', commonApi.successOrFailure);
// Mock.mock(toMockUrl(api.AUTH_ACCOUNT_CREATE), 'post', commonApi.successOrFailure);
// Mock.mock(toMockUrl(api.AUTH_COPY_PERMISSION), 'post', commonApi.successOrFailure);
// Mock.mock(toMockUrl(api.AUTH_ACCOUNT_LIST), 'post', permissionApi[api.AUTH_ACCOUNT_LIST]);
// Mock.mock(toMockUrl(api.AUTH_ACCOUNT_EDIT), 'post', commonApi.successOrFailure);
// Mock.mock(toMockUrl(api.AUTH_PERMISSION_LIST), 'post', permissionApi[api.AUTH_PERMISSION_LIST]);
// Mock.mock(toMockUrl(api.AUTH_PERMISSION_LIST_SAVE), 'post', commonApi.successOrFailure);
//
// /**
//  * 系统设置
//  */
// //操作日志
// Mock.mock(toMockUrl(api.SYS_LOG_LIST), 'post', systemApi[api.SYS_LOG_LIST]);
// Mock.mock(toMockUrl(api.SYS_DEPARTMENT_LIST), 'post', systemApi[api.SYS_DEPARTMENT_LIST]);
//
// //系统参数设置
// Mock.mock(toMockUrl(api.SYS_CONFIGURE_GET), 'post', systemApi[api.SYS_CONFIGURE_GET]);
// Mock.mock(toMockUrl(api.SYS_CONFIGURE_SAVE), 'post', commonApi.successOrFailure);
//
// //接口管理
// Mock.mock(toMockUrl(api.SYS_INTERFACE_GET), 'post', systemApi[api.SYS_INTERFACE_GET]);
// Mock.mock(toMockUrl(api.SYS_INTERFACE_SAVE), 'post', commonApi.successOrFailure);
//
// /**
//  * 会员管理相关
//  */
// // Mock.mock(toMockUrl(api.MEMBER_LIST), 'post', memberApi[api.MEMBER_LIST]);
// // Mock.mock(toMockUrl(api.MEMBER_BANK_LIST), 'post', memberApi[api.MEMBER_BANK_LIST]);
// // Mock.mock(toMockUrl(api.MEMBER_BANK_EDIT), 'post', memberApi[api.MEMBER_BANK_EDIT]);
// Mock.mock(toMockUrl(api.MEMBER_BANK_DEL), 'post', memberApi[api.MEMBER_BANK_DEL]);
// // Mock.mock(toMockUrl(api.MEMBER_DETAIL), 'post', memberApi[api.MEMBER_DETAIL]);
// // Mock.mock(toMockUrl(api.MEMBER_SET_STATUS), 'post', memberApi[api.MEMBER_SET_STATUS]);
// Mock.mock(toMockUrl(api.MEMBER_UPDATE_PASS), 'post', memberApi[api.MEMBER_UPDATE_PASS]);
// // Mock.mock(toMockUrl(api.MEMBER_UPDATE_INFO), 'post', memberApi[api.MEMBER_UPDATE_INFO]);
// Mock.mock(toMockUrl(api.MEMBER_UPDATE_AGENCY), 'post', memberApi[api.MEMBER_UPDATE_AGENCY]);
// // Mock.mock(toMockUrl(api.MEMBER_ADD_COMMENT), 'post', memberApi[api.MEMBER_ADD_COMMENT]);
// // Mock.mock(toMockUrl(api.MEMBER_BALANCE), 'post', memberApi[api.MEMBER_BALANCE]);
// // Mock.mock(toMockUrl(api.MEMBER_SYNC_BALANCE), 'post', memberApi[api.MEMBER_SYNC_BALANCE]);
// Mock.mock(toMockUrl(api.MEMBER_BALANCE_TRANSFER), 'post', memberApi[api.MEMBER_BALANCE_TRANSFER]);
// Mock.mock(toMockUrl(api.MEMBER_FINANCE), 'post', memberApi[api.MEMBER_FINANCE]);
// // Mock.mock(toMockUrl(api.MEMBER_TRADE_LIST), 'post', memberApi[api.MEMBER_TRADE_LIST]);
// Mock.mock(toMockUrl(api.MEMBER_LOGIN_LOGS), 'post', memberApi[api.MEMBER_LOGIN_LOGS]);
// Mock.mock(toMockUrl(api.MEMBER_LOGIN_LOGS), 'post', memberApi[api.MEMBER_LOGIN_LOGS]);
// Mock.mock(toMockUrl(api.MEMBER_OPERATOR_LOGS), 'post', memberApi[api.MEMBER_OPERATOR_LOGS]);
// Mock.mock(toMockUrl(api.MEMBER_ARBITRAGE), 'post', memberApi[api.MEMBER_ARBITRAGE]);
// Mock.mock(toMockUrl(api.MEMBER_REPEAT_IPS), 'post', memberApi[api.MEMBER_REPEAT_IPS]);
// Mock.mock(toMockUrl(api.MEMBER_LEVEL_LIST), 'post', memberApi[api.MEMBER_LEVEL_LIST]);
// // Mock.mock(toMockUrl(api.MEMBER_LOCK_LOGS), 'post', memberApi[api.MEMBER_LOCK_LOGS]);
//
// /**
//  * 代理相关
//  */
// // Mock.mock(toMockUrl(api.AGENCY_LIST), 'post', agencyApi[api.AGENCY_LIST]);
// // Mock.mock(toMockUrl(api.AGENCY_DETAIL), 'post', agencyApi[api.AGENCY_DETAIL]);
// // Mock.mock(toMockUrl(api.AGENCY_URLS), 'post', agencyApi[api.AGENCY_URLS]);
// // Mock.mock(toMockUrl(api.AGENCY_AUDIT_LIST), 'post', agencyApi[api.AGENCY_AUDIT_LIST]);
// // Mock.mock(toMockUrl(api.AGENCY_AUDIT_DETAIL), 'post',agencyApi[api.AGENCY_AUDIT_DETAIL]);
// // Mock.mock(toMockUrl(api.AGENCY_DOMAIN_LIST), 'post', agencyApi[api.AGENCY_DOMAIN_LIST]);
// // Mock.mock(toMockUrl(api.AGENCY_DOMAIN_DETAIL), 'post', agencyApi[api.AGENCY_DOMAIN_DETAIL]);
// // Mock.mock(toMockUrl(api.AGENCY_DOMAIN_EDIT), 'post',  commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.AGENCY_EDIT), 'post',  commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.AGENCY_AUDIT_UPDATE), 'post',  commonApi.successOrFailure);
//
// /**
//  * 佣金相关
//  */
// // Mock.mock(toMockUrl(api.COMMISSION_LIST), 'post', commissionApi[api.COMMISSION_LIST]);
// // Mock.mock(toMockUrl(api.COMMISSION_DETAIL), 'post', commissionApi[api.COMMISSION_DETAIL]);
// // Mock.mock(toMockUrl(api.COMMISSION_EDIT), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.COMMISSION_CONFIGS), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.COMMISSION_SETTLEMENT_APPORTION), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.COMMISSION_PLATFORM_FEE_APPORTION), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.COMMISSION_ADJUST), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.COMMISSION_AUDITS), 'post', commissionApi[api.COMMISSION_LIST]);
// // Mock.mock(toMockUrl(api.COMMISSION_GENERATE_LIST), 'post', commissionApi[api.COMMISSION_LIST]);
// // Mock.mock(toMockUrl(api.COMMISSION_LOGS), 'post', commissionApi[api.COMMISSION_LIST]);
//
// /**
//  * 审核相关
//  */
// // Mock.mock(toMockUrl(api.AUDIT_LIST), 'post', auditApi[api.AUDIT_LIST]);
// // Mock.mock(toMockUrl(api.AUDIT_DETAIL), 'post', auditApi[api.AUDIT_DETAIL]);
// // Mock.mock(toMockUrl(api.AUDIT_UPDATE), 'post', auditApi[api.AUDIT_UPDATE]);
// // Mock.mock(toMockUrl(api.AUDIT_APPLIER_LIST), 'post', auditApi[api.AUDIT_APPLIER_LIST]);
// // Mock.mock(toMockUrl(api.AUDIT_MAN_LIST), 'post', auditApi[api.AUDIT_MAN_LIST]);
// // Mock.mock(toMockUrl(api.AUDIT_OPERATOR), 'post', auditApi[api.AUDIT_OPERATOR]);
//
// /**
//  * 财务管理相关
//  */
// // 充值相关
// // Mock.mock(toMockUrl(api.FINANCE_PAYMENT_TYPES), 'post', rechargeApi[api.FINANCE_PAYMENT_TYPES]);
// // // Mock.mock(toMockUrl(api.FINANCE_RECHARGE_LOGS), 'post', rechargeApi[api.FINANCE_RECHARGE_LOGS]);
// // // Mock.mock(toMockUrl(api.FINANCE_RECHARGE_REORDERS), 'post', rechargeApi[api.FINANCE_RECHARGE_REORDERS]);
// Mock.mock(toMockUrl(api.FINANCE_RECHARGE_EXCEPTIONS), 'post', rechargeApi[api.FINANCE_RECHARGE_EXCEPTIONS]);
// // Mock.mock(toMockUrl(api.FINANCE_RECHARGE_ESCROWS), 'post', rechargeApi[api.FINANCE_RECHARGE_ESCROWS]);
// // Mock.mock(toMockUrl(api.FINANCE_RECHARGE_AMOUNT_SETTINGS), 'post', rechargeApi[api.FINANCE_RECHARGE_AMOUNT_SETTINGS]);
// // Mock.mock(toMockUrl(api.FINANCE_SET_RECHARGE_AMOUNT), 'post', rechargeApi[api.FINANCE_SET_RECHARGE_AMOUNT]);
// // Mock.mock(toMockUrl(api.FINANCE_RECHARGE_ESCROW_ADD), 'post', rechargeApi[api.FINANCE_RECHARGE_ESCROW_ADD]);
// // // Mock.mock(toMockUrl(api.FINANCE_APPLY_REORDER), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.FINANCE_RECHARGE_EXCEPTION_HANDLE), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.FINANCE_AUDIT_REORDER), 'post', rechargeApi[api.FINANCE_AUDIT_REORDER]);
// // Mock.mock(toMockUrl(api.FINANCE_CHARGE_LOG_DETAIL), 'post', rechargeApi[api.FINANCE_CHARGE_LOG_DETAIL]);
// // Mock.mock(toMockUrl(api.FINANCE_APPLIER_LIST), 'post', rechargeApi[api.FINANCE_APPLIER_LIST]);
// // Mock.mock(toMockUrl(api.FINANCE_AUDITTER_LIST), 'post', rechargeApi[api.FINANCE_AUDITTER_LIST]);
// // // Mock.mock(toMockUrl(api.FINANCE_ESCROWS_SET_LIST), 'post', rechargeApi[api.FINANCE_ESCROWS_SET_LIST]);
// // Mock.mock(toMockUrl(api.FINANCE_ESCROW_SET_DETAIL), 'post', rechargeApi[api.FINANCE_ESCROW_SET_DETAIL]);
// // // Mock.mock(toMockUrl(api.FINANCE_ESCROW_UPDATE_SET_STATUS), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.FINANCE_CHANGE_TABLE_SORT_SETTING), 'post', commonApi.successOrFailure);
// // // Mock.mock(toMockUrl(api.FINANCE_ADD_ESCROW_SET), 'post', commonApi.successOrFailure);
// // // Mock.mock(toMockUrl(api.FINANCE_ESCROW_SHOPNO_LIST), 'post', rechargeApi[api.FINANCE_ESCROW_SHOPNO_LIST]);
// // // Mock.mock(toMockUrl(api.FINANCE_BANK_CARD_LIST), 'post', rechargeApi[api.FINANCE_ESCROW_SHOPNO_LIST]);
// // Mock.mock(toMockUrl(api.FINANCE_ALIPAY_NAME_LIST), 'post', rechargeApi[api.FINANCE_ESCROW_SHOPNO_LIST]);
// // // Mock.mock(toMockUrl(api.FINANCE_RECHARGE_LIMIT_SETTINGS), 'post', rechargeApi[api.FINANCE_RECHARGE_LIMIT_SETTINGS]);
// // Mock.mock(toMockUrl(api.FINANCE_RECHARGE_LIMIT_DETAIL), 'post', rechargeApi[api.FINANCE_RECHARGE_LIMIT_DETAIL]);
// // Mock.mock(toMockUrl(api.FINANCE_RECHARGE_LIMIT_ADD), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.FINANCE_RECHARGE_LIMIT_STATUS), 'post', commonApi.successOrFailure);
//
// //支付设置
// // Mock.mock(toMockUrl(api.PAYMENT_ESCROWS), 'post', paymentApi[api.PAYMENT_ESCROWS]);
// // Mock.mock(toMockUrl(api.PAYMENT_BANKS), 'post', paymentApi[api.PAYMENT_BANKS]);
// // Mock.mock(toMockUrl(api.PAYMENT_ADD_ESCROW), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.PAYMENT_ESCROW_DETAIL), 'post', paymentApi[api.PAYMENT_ESCROW_DETAIL]);
// // Mock.mock(toMockUrl(api.PAYMENT_ADD_BANK), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.PAYMENT_BANK_DETAIL), 'post', paymentApi[api.PAYMENT_BANK_DETAIL]);
// // Mock.mock(toMockUrl(api.FINANCE_USER_LEVEL_LIST), 'post', rechargeApi[api.FINANCE_USER_LEVEL_LIST]);
// // Mock.mock(toMockUrl(api.PAYMENT_UPDATE_STATUS), 'post', commonApi.successOrFailure);
//
// //提现相关
// // Mock.mock(toMockUrl(api.WITHDRAW_LIST), 'post', withdrawApi[api.WITHDRAW_LIST]);
// // Mock.mock(toMockUrl(api.WITHDRAW_UPDATE_STATUS), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.WITHDRAW_DETAIL), 'post',withdrawApi[api.WITHDRAW_DETAIL]);
// // Mock.mock(toMockUrl(api.WITHDRAW_SHOP_LIST), 'post',withdrawApi[api.WITHDRAW_SHOP_LIST]);
// // Mock.mock(toMockUrl(api.WITHDRAW_EXCEPTION_LIST), 'post',withdrawApi[api.WITHDRAW_EXCEPTION_LIST]);
// // Mock.mock(toMockUrl(api.WITHDRAW_AUDIT_LIST), 'post',withdrawApi[api.WITHDRAW_AUDIT_LIST]);
// // Mock.mock(toMockUrl(api.WITHDRAW_AUDIT_UPDATE_STATUS), 'post',commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.WITHDRAW_CONFIGS), 'post',withdrawApi[api.WITHDRAW_CONFIGS]);
// // Mock.mock(toMockUrl(api.WITHDRAW_CONFIGS_UPDATE), 'post',commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.WITHDRAW_ESCROWS), 'post',withdrawApi[api.WITHDRAW_ESCROWS]);
// // Mock.mock(toMockUrl(api.WITHDRAW_ESCROW_DETAIL), 'post',withdrawApi[api.WITHDRAW_ESCROW_DETAIL]);
// // Mock.mock(toMockUrl(api.WITHDRAW_ESCROW_EDIT), 'post',commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.WITHDRAW_ESCROW_UPDATE), 'post',commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.WITHDRAW_ESCROW_STATUS_UPDATE), 'post',commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.WITHDRAW_ESCROWS_SORT), 'post',commonApi.successOrFailure);
//
// // 策略相关
// Mock.mock(toMockUrl(api.STRATEGY_LIST), 'post', strategyApi[api.STRATEGY_LIST]);
// Mock.mock(toMockUrl(api.STRATEGY_DETAIL), 'post', strategyApi[api.STRATEGY_DETAIL]);
// Mock.mock(toMockUrl(api.STRATEGY_UPDATE), 'post', commonApi.successOrFailure);
// Mock.mock(toMockUrl(api.STRATEGY_ADD), 'post', commonApi.successOrFailure);
// // 转账相关
// // Mock.mock(toMockUrl(api.TRANSFER_LIST), 'post', transferApi[api.TRANSFER_LIST]);
// // Mock.mock(toMockUrl(api.TRANSFER_DETAIL), 'post', transferApi[api.TRANSFER_DETAIL]);
// // Mock.mock(toMockUrl(api.TRANSFER_SET_CONFIGS), 'post',  commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.TRANSFER_GET_CONFIGS), 'post',  transferApi[api.TRANSFER_GET_CONFIGS]);
// // Mock.mock(toMockUrl(api.TRANSFER_UPDATE_STATUS), 'post',  commonApi.successOrFailure);
//
// // 策略相关
// // Mock.mock(toMockUrl(api.ADJUSTMENT_LIST), 'post',adjustmentApi[api.ADJUSTMENT_LIST]);
// // Mock.mock(toMockUrl(api.ADJUSTMENT_DETAIL), 'post', adjustmentApi[api.ADJUSTMENT_DETAIL]);
// // Mock.mock(toMockUrl(api.ADJUSTMENT_UPDATE), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.ADJUSTMENT_ADD), 'post', commonApi.successOrFailure);
//
// // 银行相关
// Mock.mock(toMockUrl(api.BANK_LOGS), 'post', banksApi[api.BANK_LOGS]);
//
// // 用户等级相关
// // Mock.mock(toMockUrl(api.USER_LEVEL_LIST), 'post', userLevelApi[api.USER_LEVEL_LIST]);
// // Mock.mock(toMockUrl(api.USER_LEVEL_DETAIL), 'post', userLevelApi[api.USER_LEVEL_DETAIL]);
// // Mock.mock(toMockUrl(api.USER_LEVEL_ADD), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.USER_LEVEL_UPDATE), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.USER_LEVEL_LOCK), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.USER_LEVEL_UNLOCK), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.USER_LEVEL_SORT), 'post', commonApi.successOrFailure);
// // Mock.mock(toMockUrl(api.USER_LEVEL_CURRENT_PAYMENTS), 'post', userLevelApi[api.USER_LEVEL_CURRENT_PAYMENTS]);
// // Mock.mock(toMockUrl(api.USER_LEVEL_CURRENT_PAYMENTS_SET), 'post',commonApi.successOrFailure);
//
// //数据统计
// Mock.mock(toMockUrl(api.STATISTICAL_MEMBERS), 'post',statisticalApi[api.STATISTICAL_MEMBERS]);
// Mock.mock(toMockUrl(api.STATISTICAL_BET_RECHARGE), 'post',statisticalApi[api.STATISTICAL_BET_RECHARGE]);
// Mock.mock(toMockUrl(api.STATISTICAL_HOURS_RECHARGE), 'post',statisticalApi[api.STATISTICAL_HOURS_RECHARGE]);
// Mock.mock(toMockUrl(api.STATISTICAL_BALANCE), 'post',statisticalApi[api.STATISTICAL_BALANCE]);
// Mock.mock(toMockUrl(api.STATISTICAL_BALANCE_TODAY), 'post',statisticalApi[api.STATISTICAL_BALANCE_TODAY]);
// Mock.mock(toMockUrl(api.STATISTICAL_HOURS_BET), 'post',statisticalApi[api.STATISTICAL_HOURS_BET]);

export default Mock
